From b8dbf86a472a79579d28e48360184323ba66ca7a Mon Sep 17 00:00:00 2001 From: DaPigGuy Date: Thu, 19 Mar 2026 18:48:13 -0700 Subject: [PATCH] shell: Fix overcounting of misc. symbols for password strength There was previously a branch for lowercase symbols that was removed. Lowercase symbols should not count as miscellaneous symbols, which increase the password strength. Fixes ecb7dcc5d67c33d2d5155ecfc32fc36a7e4cfa08 Part-of: --- src/shell-keyring-prompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-keyring-prompt.c b/src/shell-keyring-prompt.c index 821505bc4..28c23d7ad 100644 --- a/src/shell-keyring-prompt.c +++ b/src/shell-keyring-prompt.c @@ -628,7 +628,7 @@ calculate_password_strength (const gchar *password) digit++; else if (g_ascii_isupper (password[i])) upper++; - else + else if (!g_ascii_islower (password[i])) misc++; } -- 2.39.5